package com.sailfish.springbootdemo.service.db1;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db1.PcbaProcess;

import java.util.List;

public interface PcbaProcessService {

    /**
     * 查询
     *
     * @return
     */
    List<PcbaProcess> getAllPcbaProcess(String searchValue);

    /**
     * 根据id删除
     *
     * @param pcbaProcessId
     * @return
     */
    Result deletePcbaProcessById(Integer pcbaProcessId);

    /**
     * 根据id查询
     *
     * @param pcbaProcessId
     * @return
     */
    PcbaProcess getPcbaProcessById(Integer pcbaProcessId);

    Result addOrUpdatePcbaProcess(String mode, PcbaProcess pcbaProcess);
}
